//
//  XMTextView.h
//  DATABK
//
//  Created by 俞渊华 on 2017/3/31.
//  Copyright © 2017年 俞渊华. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface XMTextView : UITextView

///最多多少文字,默认为0不显示
@property(nonatomic, assign)NSInteger maxNumber;

@property (strong, readonly, nonatomic) UILabel *placeholderLabel;
@property (copy  , readwrite, nonatomic) NSString *placeholder;
@property (strong, readwrite, nonatomic) UIColor *placeholderColor;

- (void)textChanged:(NSNotification *)notification;

@end
